<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
    <title>天职师大跳蚤市场</title>
    <style>
        body {
            font-family: "微软雅黑";
            background-color: gainsboro;
            margin: 20px;
        }

        .container {
            width: 800px;
            margin: 0 auto;
            border: 3px solid white;
        }

        .header {
            background-color: steelblue;
            color: white;
            text-align: center;
            padding: 20px;
            font-size: 24px;
            font-weight: bold;
        }

        .nav {
            display: flex;
            background-color: lightyellow;
        }

        .nav-item {
            flex: 1;
            text-align: center;
            padding: 10px;
            border-right: none;
            cursor: pointer;
        }

        .nav-s {
            flex: 1;
            text-align: center;
            padding: 10px;
            border-right: none;
            background-color: steelblue;
            color: white;
        }

        .content {
            display: flex;
            width: 100%;
        }

        .left-section {
            flex: 3;
        }

        .right-section {
            flex: 1;
            height: 200px;
            background-color: cadetblue;
			gap:20px;
        }

        .hot-title {
            background-color: pink;
            text-align: center;
            padding: 10px;
            font-size: 20px;
            font-weight: bold;
        }

        .goods-container {
            display: flex;
            width: 100%;
            border-bottom: 2px solid pink;
        }

        .goods-type {
            width: 30px;
            height: 200px;
            background-color: yellowgreen;
            color: black;
            text-align: center;
            padding: 10px;
            display: flex;
            font-weight: bold;
            align-items: center;
            justify-content: center;
        }

        .vertical-text {
            writing-mode: vertical-rl;
            letter-spacing: 3px;
        }

        .mixed-text {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .usb-text {
            writing-mode: horizontal-tb;
            font-size: 16px;
        }

        .fan-text {
            writing-mode: vertical-rl;
            letter-spacing: 2px;
        }

        .goods-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .goods-info-row {
            display: flex;
            flex: 1;
        }

        .goods-info {
            flex: 3;
            padding: 10px;
            display: flex;
            align-items: center; 
            gap: 15px; 
        }

        .goods-desc-img {
            width: 100px; 
            height: auto;
        }

        .goods-desc-img img {
            width: 100px;
            height: 100px;
            object-fit: cover; 
        }

        .goods-desc-text {
            flex: 1;
        }

        .seller-bar {
            background-color: hotpink;
            padding: 8px;
            color: black;
            width: 100%;
            height: 80px;
            box-sizing: border-box;
            display: flex;
            align-items: center; 
        }

        .user-title {
            background-color: cadetblue;
            padding: 10px;
            text-align: center;
            color: black;
            font-weight: bold;
        }

        .user-info {
            background-color: steelblue;
            color: white;
            font-size: 20px;
            padding: 10px;
            text-align: center;
            font-weight: bold;
            margin: auto;
        }

        .user-btn {
            background-color: cadetblue;
            color: blue;
            padding-left: 40px;
            padding-top: 20px;
            text-align: left;
            text-decoration: underline;
        }

        .footer {
            background-color: steelblue;
            color: white;
            text-align: center;
            padding: 10px;
            font-size: 15px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">天职师大跳蚤市场</div>

        <div class="nav">
            <div class="nav-item">主页</div>
            <div class="nav-s">商品查询</div>
            <div class="nav-item">我的订单</div>
            <div class="nav-item">个人信息</div>
        </div>

        <div class="content">
            <div class="left-section">
                <div class="hot-title">热门商品</div>

                <div class="goods-container">
                    <div class="goods-type">
                        <span class="vertical-text">书桌台灯</span> 
                    </div>
                    <div class="goods-content">
                        <div class="goods-info-row">
                            <div class="goods-info">
                                <div class="goods-desc-text">
                                    卖家寄语：<br>
                                    相信吗，这会是你的灵魂伴侣，她将陪伴你整个大学生活
                                </div>
                                <div class="goods-desc-img">
                                    <img src="1.png" alt="台灯商品图">
                                </div>
                            </div>
                            
                        </div>
                        <div class="seller-bar">卖家：方圆，求点赞，可小刀！</div>
                    </div>
                </div>

                <div class="goods-container">
                    <div class="goods-type">
                        <div class="mixed-text">
                            <span class="usb-text">usb</span> 
                            <span class="fan-text">小风扇</span> 
                        </div>
                    </div>
                    <div class="goods-content">
                        <div class="goods-info-row">
                            <div class="goods-info">
                                <div class="goods-desc-text">
                                    卖家寄语：<br>
                                    夏天，你需要它；冬天，你也需要它！（宿舍暖气热到让你怀疑人生！）
                                </div>
                                <div class="goods-desc-img">
                                    <img src="cat.png" alt="小风扇商品图">
                                </div>
                            </div>
                            
                        </div>
                        <div class="seller-bar">卖家：麦田の灯塔，求点赞，求买，求好评！</div>
                    </div>
                </div>
            </div>

            <div class="right-section">
                <div class="user-title">逍遥剑客</div>
                <div class="user-info">我的个人信息</div>
                <div class="user-btn">修改昵称</div>
                <div class="user-btn">修改收货地址</div>
            </div>
        </div>

        <div class="footer">@copyright Yolanda</div>
    </div>
</body>
</html>